﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class Article
    {
        [Required]
        public virtual int Id { get; set; }

        [Required]
        [Display(Name = "Titre")]
        public virtual string Title { get; set; }

        [Required]
        [Display(Name = "Contenu")]
        public virtual string Content { get; set; }

        public virtual IList<ArticleImage> ArticleImages { get; set; }

    }
}
